package com.joysuch.wwyt.attendant.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.joysuch.wwyt.common.entity.UserDataEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author xsx
 * @version 1.0
 * @date 2023/2/15 10:50
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wwyt_attendant_record")
public class AttendantRecord extends UserDataEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @ApiModelProperty(value = "跟班计划ID")
    private Long attendantPlanId;
    @ApiModelProperty(value = "签到时间")
    private Date signInTime;
    @ApiModelProperty(value = "完成时间")
    private Date finishTime;
    @ApiModelProperty(value = "停留时长")
    private String duration;
    @ApiModelProperty(value = "签到状态 正常 异常")
    private String status;
    @ApiModelProperty(value = "进出时间")
    private String accessTime;

}
